/*
 *
 * Author Administrator
 * Date 2021/9/18 16:39
 */
package cn.safekeeper.guide.admin.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class UserVO implements Serializable {

    private static final long serialVersionUID = -2415213214213861390L;

    @NotBlank(message = "请输入旧密码")
    @Size(min = 6, max = 20)
    private String oldPassword;

    @NotBlank(message = "请输入新密码")
    @Size(min = 6, max = 20)
    private String newPassword;

    @NotBlank(message = "请输入确认密码")
    @Size(min = 6, max = 20)
    private String confirmPassword;
}
